package com.vegetable.modules.entity.wx.po;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="获取wx用户审批信息", description="获取wx用户审批信息")
public class QueryWXApprovalPO implements Serializable {
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(locale = "zh", timezone = "GMT+8", pattern = "yyyy-MM-dd")
    private Date startTime;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(locale = "zh", timezone = "GMT+8", pattern = "yyyy-MM-dd")
    private Date endTime;
    
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(locale = "zh", timezone = "GMT+8", pattern = "yyyy-MM-dd")
    private Date paymentTime;
    
    @ApiModelProperty("用户id")
    private String userId;

    private Integer regionId;

    @ApiModelProperty("申请单状态：1-审批中；2-已通过；3-已驳回；4-已撤销；6-通过后撤销；7-已删除；10-已支付")
    private String spStatus;
    
    @ApiModelProperty("打款状态")
    private String paymentStatus;

    private Long limit = 10L;

    private Long page = 1L;

    @ApiModelProperty("报销类型")
    private String reimbursementType;
    
    @ApiModelProperty("用户ID列表(数据权限过滤使用)")
    private List<String> userIds;
}